package com.ssy.lingxi.product.api.model.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

/**
 * 物料货源清单实体类
 *
 * @author : lqa
 * @date : 22:58 25/03/2022
 */
@Getter
@Setter
public class GoodsSupplyRequest {
    private static final long serialVersionUID = 1764387121336790473L;
    /**
     * 物料id
     */
    @NotNull(message = "物料id不能为空")
    private Long id;

    /**
     * 物料货源清单列表
     */
    private List<GoodsSupplyListRequest> list = new ArrayList<>();

}
